<HTML>
<HEAD>
<meta charset="UTF-8">
<title>ConfirmPaymentIntentParams.createWithPaymentMethodCreateParams - stripe</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">stripe</a>&nbsp;/&nbsp;<a href="../index.html">com.stripe.android.model</a>&nbsp;/&nbsp;<a href="index.html">ConfirmPaymentIntentParams</a>&nbsp;/&nbsp;<a href="./create-with-payment-method-create-params.html">createWithPaymentMethodCreateParams</a><br/>
<br/>
<h1>createWithPaymentMethodCreateParams</h1>
<a name="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)"></a>
<code><span class="identifier">@JvmOverloads</span> <span class="identifier">@JvmStatic</span> <span class="keyword">fun </span><span class="identifier">createWithPaymentMethodCreateParams</span><span class="symbol">(</span><span class="identifier" id="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)/paymentMethodCreateParams">paymentMethodCreateParams</span><span class="symbol">:</span>&nbsp;<a href="../-payment-method-create-params/index.html"><span class="identifier">PaymentMethodCreateParams</span></a><span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)/clientSecret">clientSecret</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)/returnUrl">returnUrl</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)/savePaymentMethod">savePaymentMethod</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)/extraParams">extraParams</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html"><span class="identifier">Map</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)/mandateId">mandateId</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)/mandateData">mandateData</span><span class="symbol">:</span>&nbsp;<a href="../-mandate-data-params/index.html"><span class="identifier">MandateDataParams</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)/setupFutureUsage">setupFutureUsage</span><span class="symbol">:</span>&nbsp;<span class="identifier">SetupFutureUsage</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.ConfirmPaymentIntentParams.Companion$createWithPaymentMethodCreateParams(com.stripe.android.model.PaymentMethodCreateParams, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.collections.Map((kotlin.String, kotlin.Any)), kotlin.String, com.stripe.android.model.MandateDataParams, com.stripe.android.model.ConfirmPaymentIntentParams.SetupFutureUsage, com.stripe.android.model.ConfirmPaymentIntentParams.Shipping)/shipping">shipping</span><span class="symbol">:</span>&nbsp;<span class="identifier">Shipping</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">ConfirmPaymentIntentParams</span></a></code>
<p>Create the parameters necessary for confirming a PaymentIntent while attaching
<a href="../-payment-method-create-params/index.html">PaymentMethodCreateParams</a> data</p>
<h3>Parameters</h3>
<p><a name="paymentMethodCreateParams"></a>
<code>paymentMethodCreateParams</code> - params for the PaymentMethod that will be attached to this
PaymentIntent</p>
<p><a name="clientSecret"></a>
<code>clientSecret</code> - client secret from the PaymentIntent that is to be confirmed</p>
<p><a name="returnUrl"></a>
<code>returnUrl</code> - the URL the customer should be redirected to after the authorization
process</p>
<p><a name="savePaymentMethod"></a>
<code>savePaymentMethod</code> - Set to <code>true</code> to save this PaymentIntent’s payment method to
the associated Customer, if the payment method is not already
attached. This parameter only applies to the payment method passed
in the same request or the current payment method attached to the
PaymentIntent and must be specified again if a new payment method is
added.</p>
<p><a name="mandateId"></a>
<code>mandateId</code> - optional ID of the Mandate to be used for this payment.</p>
<p><a name="mandateData"></a>
<code>mandateData</code> - optional details about the Mandate to create.</p>
<p><a name="setupFutureUsage"></a>
<code>setupFutureUsage</code> - Optional. See <a href="-setup-future-usage/index.html">SetupFutureUsage</a>.</p>
<p><a name="shipping"></a>
<code>shipping</code> - Optional. See <a href="-shipping/index.html">Shipping</a>.</p>
</BODY>
</HTML>
